package com.fruit.normal.dao;

import java.sql.Timestamp;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.fruit.normal.bean.TutorUser;

@Repository("tutorUserDao")
public interface ITutorUserDao {
	public TutorUser detailByPhone(String phone);
	
	public TutorUser detailByToken(String token);
	
	public void saveUser(TutorUser user);

	public void updateLoginUser(@Param("token") String token, @Param("loginTime") Timestamp loginTime, @Param("id") Long id);
}
